package com.example.demo.model.req;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Schema(description = "分页基本入参")
@Data
public class BasePage {

    @Schema(description = "分页第几页", example = "1", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer pageNo;

    @Schema(description = "分页单页数目", example = "2", defaultValue = "10", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer pageSize;

}
